package com.dreamthen.service.impl;

import com.dreamthen.dao.IUserDao;
import com.dreamthen.entity.User;
import com.dreamthen.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * @Author zengms
 * @Date 2023-10-22 10:29:15
 **/
@Service
@Primary
public class UserServiceImpl implements IUserService {

    @Autowired
    private IUserDao userDao;

    @Override
    public User getUser(String id) {
        return userDao.getUser(id);
    }
}
